home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MIDICraft's MIDINET CD-ROM
/
MIDICraft's MIDINET CD-ROM.iso
/
CONVERTR
/
XM2MID.DOC
< prev
next >
Wrap
Text File
|
1997-01-13
|
4KB
|
102 lines
XM2MID 1.0 shareware (c) Balint Pfliegel, 96-97
Converts Ft2's extended modules to standard midi files.
Syntax:
xm2mid <infile[.xm]> [outfile[.mid]]
This shareware program converts Fastracker II's extended modules to files of
standard midi format. It recognizes and converts effects which are possible
in both formats and have any sense to be handled.
I didn't include portamentos, and note/pattern delays, because these
fine things should be corrected later anyhow. Xm2mid converts the effects:
- Set volume:
Doesn't matter in which column it is, its volume parameter will be
converted to the velocity of the notepressing in the midi file.
But if there is no volume set by a note, the maximum of the samplevolumes
will be used as volume.
- Set tempo/BPM
- Pattern break
- Position jump: Only forward! :)
- Jump loop
For the conversion you have to write a mapping file to reach maximum
performance :) You can decide which xm instruments will you leave as normal
instruments and which ones will you pass to the percussion, to midi track 10.
For the normal ones you have to give the appropriate (GM) midi instrument
number, the transpose in half notes (optional) and if there is originally
a chord is played, the type; for the parts of the percussion the appropriate
note on track 10. By the percussion the original note doesn't play any role
by the conversion.
Only those instruments will be converted which appear both in your mapping
file and in the original xm track.
Chord types( example, the original note is c-5 ):
[ma1] c-5, e-5, g-5
[ma2] e-4, c-5, g-5
[ma3] g-4, e-4, c-5
[mi1] c-5, d#5, g-5
[mi2] g-4, c-5, d#5
[mi3] d#4, g-4, c-5
So, syntax is:
<original xm instru> <GM instru/track 10 note> [transpose] [chord type]
Example:
[mapping]
1 #34 7 <-- by midi instru 34, transposed 7 halfnotes higher
2 #126 -12 mi2 <-- by midi instru 126, transposed octave deeper
8 c-4 <-- to midi track 10, all orig. notes will be played at c-4
5 #2 15 ma1 <-- by midi instru 2, transposed 15 halfnotes higher
and played by a major chord type 1
11 a#4 <-- to midi track 10, all orig. notes will be played at a#4
[mapping ends]
You can put remarks in your mapping file, but every time in a new line,
starting with '//'.
By using this program you have to agree that xm2mid isn't responsible for
any possible damage done to your computer or to its accessories. I've tested it
for a hundred times, and when you don't mess with the mapping or with the xm
file, it will work correctly.
Okay, as I'm a bad guy ( better say: only a student ) I want to get some
profit from the thing, so it's only a dumm version of the program
included. It converts only the first 4 instruments. So if you want to get
the full version, send 10$ or equal until the end of february to:
Balint Pfliegel
Zaehringerstrasse 4. B207
76131 Karlsruhe
Germany
and after to:
Balint Pfliegel
Baratka utca 67/B
Budapest
H-1173
Hungary
and send me an e-mail and I will send you the full version in some days.
The whole offer is valid until the end of february, then contact me at my new
address if you are still interested. I already started to write the inversion,
mid2xm, but it's a bit more complicated and also it's happy exams' time, so it
will last for some more time to get it finished.
I would like to say thanks to the following people:
- Steve Parry - for his 'apache' module, originally a mod, but stored as xm
- Dustin Caldwell - for his overwiew on midi format
- Fredrik Huss and Magnus Hogdahl - for Fasttracker II itself, but Mr.H also
for xm structure specification
This archive is freely distributable.
For any requests, questions, bug reports please write to:
s_pflieg@ira.uka.de <- until 1st March 97
reflex@inf.bme.hu <- after 1st March 97
Balint Pfliegel, 97.jan.10.